package com.webkitlib.base;


import android.app.Application;
import android.content.Context;

/**
 * 
 * base
 * 
 * @author 韩伟光
 * @version 1.0
 * @since 2016-2-2
 */
public class BaseApplication extends Application {
    static Context _context;

    @Override
    public void onCreate() {
        super.onCreate();
        _context = getApplicationContext();
    }

    public static synchronized BaseApplication context() {
        return (BaseApplication) _context;
    }

}
